package com.econage.eccm.test.bus.mapper;

import com.econage.eccm.test.base.mybatis.plugins.pagination.Pagination;
import com.econage.eccm.test.bus.model.WfTemplateEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * Created by wjj on 2018/1/18.
 */
@Mapper
public interface WfTemplateMapper {
    @SelectProvider(type = WfTemplateSqlProvider.class,method = "buildQueryListSql")
    List<WfTemplateEntity> queryList(String wfNameSearch, Pagination pagination);

    @SelectProvider(type = WfTemplateSqlProvider.class,method = "buildQueryCountSql")
    int queryCount(String wfNameSearch);
}
